import {type TableData} from "./DataTypes.ts"
import type {Ref,InjectionKey} from 'vue'
export interface DataKeyType {
    isNeedUpdate: Ref<boolean>,
    updateData(newData: TableData): void
}
export const DataKey = Symbol("DataKey") as InjectionKey<DataKeyType>